<div class="PC-foot">
            <div class="PC-foot-content">
                <div>
                    <img src="__STATIC__/index/img/foot/PC_foot_logo.png" alt="LOGO">
                </div>
                <div>
                    <ul>
                        <li>
                            <a href="{:url('Article/index')}?cate_id=1">联系我们</a>
                        </li>
                        <li>
                            <a href="{:url('Article/index')}?cate_id=2">招兵买马</a>
                        </li>
                        <li>
                            <a href="{:url('Article/index')}?cate_id=3">企业合作</a>
                        </li>
                        <li>
                            <a href="{:url('Article/index')}?cate_id=4">产品导航</a>
                        </li>
                        <li>
                            <a href="{:url('Article/index')}?cate_id=5">企业文化</a>
                        </li>
                    </ul>
                </div>
                <div>
                    <ul>
                        <li>
                            <a href="">
                                <span class="iconfont icon-weibo"></span>新浪微博</a>
                        </li>
                        <li>
                            <div>
                                <span class="iconfont icon-weixin"></span>公众平台
                            </div>
                            <div>
                                <img src="{$wx_qrcode_img}" alt="">
                                <p>扫一扫&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有红包</p>
                            </div>
                        </li>
                    </ul>
                </div>
                <div>
                    <p>
                        <span class="iconfont icon-msnui-telephone"></span>{:sysconf('site_phone')}</p>
                    <p>（服务时间 08:00–22:00）</p>
                    <p>官网商城 2007-2017, 版权所有 京ICP备888888888号-1</p>
                </div>
            </div>

        </div>
        <div class="PC-location" {if condition="$is_cookie_city eq 1"} style="display:none;" {/if}>
            <div class="PC-location-content" id="pc-chengshi">
                <div>
                    选择城市
                    <span>定位：{$cur_city}</span>
                </div>
                <ul>
                    {foreach name="city_list" item="v"}
                        <!--<li class="PC-select-location PC-this-location">{$v.value}</li>-->
                        <li class="PC-select-location {if condition='$v.value eq $cur_city'} PC-this-location {/if}" data-city-key="{$v.key}">{$v.value}</li>
                    {/foreach}
                </ul>
                <p>
                    <切换城市将清空购物车>
                </p>
                <a href="javascript:;" class="pc-mendian-xuanze" onclick="get_store()">确定</a>
            </div>
            <style>
            </style>
            <div class="PC-location-content" id="pc-mendian">
                <div>
                    选择门店
                    <span></span>
                    <span class="iconfont icon-xiangzuo pc-chengshi-fanhui"></span>
                </div>
                <ul class="get_store">
                    <!--<li class="PC-select-location  PC-this-location">五四广场一店</li>-->
                    <!--<li class="PC-select-location">五四广场一店</li>-->
                    <!--<li class="PC-select-location">五四广场一店</li>-->
                    <!--<li class="PC-select-location">五四广场一店</li>-->
                    <!--<li class="PC-select-location">五四广场一店</li>-->
                </ul>
                <p>
                </p>
                <a href="javascript:;" onclick="chose_store();">确定</a>
            </div>
        </div>

        <script src="__STATIC__/index/js/global/global.js"></script>
        <script>
            function get_store(){
                var city_key = $('.PC-this-location').attr('data-city-key');
                $.post("{:url('Changestore/get_store')}",
                    {city_key:city_key},
                    function(data){
                        if(data.code == 1){
//                            console.log(data.data);
                            var html = '';
                            html += '<li class="PC-select-location PC-this-location" data-store-id="'+data.data[0]["id"]+'" onclick="pc_select_location(this)">'+data.data[0]["title"]+'</li>';
                            for(var i=1;i<data.data.length;i++){
                                html +='<li class="PC-select-location" data-store-id="'+data.data[i]["id"]+'" onclick="pc_select_location(this)">'+data.data[i]["title"]+'</li>';
                            }
                            $('.get_store').html(html);
                        }else{
//                            layer.msg();
                            layer.msg(data.msg, {icon: 2,time:1000}, function(index){
                                layer.close(index);
                            });
                            return false;
                        }
                    }
                );
            }
            /**
             * 选择门店
             * 2018-04-13
             */
            function chose_store(){
                var store_id = $('.get_store li.PC-this-location').attr('data-store-id');
                if(store_id == ''){
                    layer.msg('请选择门店', {icon: 2,time:1000}, function(index){
                        layer.close(index);
                    });
                    return false;
                }
                $.post("{:url('Changestore/choose_store')}",
                    {store_id:store_id},
                    function(data){
                        if(data.code == 1){
                            location.reload();
                        }else{
                            layer.msg('网络请求错误，请稍后再试', {icon: 2,time:1000}, function(index){
                                layer.close(index);
                            });
                            return false;
                        }
                    }

                );
            }
            /**
             * 切换门店
             * @param obj
             */
            function pc_select_location(obj){
                $('.PC-select-location').removeClass('PC-this-location');
                $(obj).addClass('PC-this-location');
            }

        </script>